package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.MediaType;

@Entity
@Table(name = "sa_media")
public class Media extends AbstractEntity {

    private static final long serialVersionUID = 2714768635190777255L;

    public Long userId;
    public String url;
    @Column(name = "typee")
    public MediaType type;

    public Media() {

    }

    public Media(Long id) {
        this.id = id;
    }

}
